<!DOCTYPE html>
<html lang="zh-CN">
<head>
	    <meta http-equiv="X-UA-Compatible" content="IE=9;IE=8;IE=7" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                    <title>Java - code123</title>                        <meta name="keywords" content="Java" />
    <meta name="description" content="" />
    <meta name="viewport" content="initial-scale=1.0,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <link rel="Shortcut Icon" href="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/favicon.ico" type="image/x-icon" />
    <link rel="alternate" type="application/rss+xml" title="code123 &raquo; Feed" href="http://www.code123.cc/feed" />
<link rel="alternate" type="application/rss+xml" title="code123 &raquo; 评论Feed" href="http://www.code123.cc/comments/feed" />
<link rel="alternate" type="application/rss+xml" title="code123 &raquo; Java分类目录Feed" href="http://www.code123.cc/category/java/feed" />
		<script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"http:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"http:\/\/www.code123.cc\/wp-includes\/js\/wp-emoji-release.min.js?ver=1462685583"}};
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
<link rel='stylesheet' id='dwqa-style-css'  href='css/style.css?ver=1462685583' type='text/css' media='all' />
<script type='text/javascript' src='http://cdn.staticfile.org/jquery/1.11.1/jquery.min.js?ver=1462685583'></script>
<script type='text/javascript' src='http://cdn.staticfile.org/jquery-migrate/1.2.1/jquery-migrate.min.js?ver=1462685583'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var CrayonSyntaxSettings = {"version":"2.6.5","is_admin":"0","ajaxurl":"http:\/\/www.code123.cc\/wp-admin\/admin-ajax.php","prefix":"crayon-","setting":"crayon-setting","selected":"crayon-setting-selected","changed":"crayon-setting-changed","special":"crayon-setting-special","orig_value":"data-orig-value","debug":""};
var CrayonSyntaxStrings = {"copy":"\u4f7f\u7528 %s \u590d\u5236\uff0c\u4f7f\u7528 %s \u7c98\u8d34\u3002","minimize":"Click To Expand Code"};
/* ]]> */
</script>
<script type='text/javascript' src='http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/plugins/crayon-syntax-highlighter/js/min/crayon.min.js?ver=1462685583'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var mirana = {"galleryEffect":"fxSoftScale","galleryInterval":"5","swf":"http:\/\/www.code123.cc\/wp-content\/themes\/Mirana\/static\/swf"};
/* ]]> */
</script>
<script type='text/javascript' src='http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/js/index.js?ver=1462685583'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wpzan_ajax_url = "http:\/\/www.code123.cc\/wp-admin\/admin-ajax.php";
/* ]]> */
</script>
<script type='text/javascript' src='http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/plugins/wp-zan/static/js/wp-zan.js?ver=1462685583'></script>
<script type='text/javascript' src='http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/plugins/wp-favorite-posts/wpfp.js?ver=1462685583'></script>
		<style type="text/css">
			.wp-zan{
				color: !important
			}
			.wp-zan:hover{
				color: !important
			}
			.wp-zan.zaned{
				color: !important
			}
		</style>
	    </head>
<body class="archive category category-java category-108">
<header id="header">
	<div class="center">
        		<a class="logo" href="http://www.code123.cc" alt="code123"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/logo3.png" alt="code123" /></a>
		<nav id="topnav" class="menu-menu1-container">
			<ul id="menu-menu1" class="menu">
                <li id="menu-item-1454" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-1454"><a href="index.html">首页</a></li>
                <li id="menu-item-269" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-269"><a href="trends.html">业界</a></li>
                <li id="menu-item-1600" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1600"><a href="startup.html">创业</a></li>
                <li id="menu-item-1450" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1450"><a href="interview-carrier.html">面试</a></li>
                <li id="menu-item-1451" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1451"><a href="java.html">Java</a></li>
                <li id="menu-item-1452" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1452"><a href="python.html">Python</a></li>
            </ul>
</nav>        
<div class="search right">
            <form class="search-form clearfix" method="get" action="http://www.code123.cc/">
                <input class="search-submit" type="submit" />
                <input class="search-text" name="s" type="text" placeholder="Search..." />
            </form>
        </div>
	</div>
</header>
	<div id="content">
        <div class="main">
            <div class="center">
                                    <!--div><center>
                      <a href="http://my.yizhihongxing.com/aff.php?aff=494" target="_blank"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2016/07/vpn.png"></a>
                    </center></div></br-->
                    <ul id="indexcat" class="clearfix">
                        <!--li>分类目录：</li-->
                        <li><a href="http://www.code123.cc" data-hover='所有'  >所有</a></li>
                        <li><a href="http://www.code123.cc/category/android" data-hover='Android'>Android</a></li><li><a href="http://www.code123.cc/category/django" data-hover='Django'>Django</a></li><li><a href="http://www.code123.cc/category/http" data-hover='HTTP'>HTTP</a></li><li><a href="http://www.code123.cc/category/ios" data-hover='iOS'>iOS</a></li><li><a href="http://www.code123.cc/category/it-carrier" data-hover='IT职场'>IT职场</a></li><li><a href="http://www.code123.cc/category/java" class="current" data-hover='Java'>Java</a></li><li><a href="http://www.code123.cc/category/javascript" data-hover='JavaScript'>JavaScript</a></li><li><a href="http://www.code123.cc/category/java-level02" data-hover='Java进阶'>Java进阶</a></li><li><a href="http://www.code123.cc/category/leetcode" data-hover='LeetCode'>LeetCode</a></li><li><a href="http://www.code123.cc/category/linux" data-hover='Linux'>Linux</a></li><li><a href="http://www.code123.cc/category/mysql" data-hover='MySQL'>MySQL</a></li><li><a href="http://www.code123.cc/category/php" data-hover='PHP'>PHP</a></li><li><a href="http://www.code123.cc/category/python" data-hover='Python'>Python</a></li><li><a href="http://www.code123.cc/category/redis" data-hover='Redis'>Redis</a></li><li><a href="http://www.code123.cc/category/ruby" data-hover='Ruby'>Ruby</a></li><li><a href="http://www.code123.cc/category/tutor-scalar" data-hover='Scala教程'>Scala教程</a></li><li><a href="http://www.code123.cc/category/spark" data-hover='Spark'>Spark</a></li><li><a href="http://www.code123.cc/category/tcp-ip" data-hover='TCP/IP协议'>TCP/IP协议</a></li><li><a href="http://www.code123.cc/category/web-dev" data-hover='Web开发'>Web开发</a></li><li><a href="http://www.code123.cc/category/wiki" data-hover='wiki'>wiki</a></li><li><a href="http://www.code123.cc/category/trends" data-hover='业界/资讯'>业界/资讯</a></li><li><a href="http://www.code123.cc/category/people" data-hover='人物'>人物</a></li><li><a href="http://www.code123.cc/category/startup" data-hover='创业'>创业</a></li><li><a href="http://www.code123.cc/category/bigdata" data-hover='大数据'>大数据</a></li><li><a href="http://www.code123.cc/category/math-programming" data-hover='学点数学'>学点数学</a></li><li><a href="http://www.code123.cc/category/tools" data-hover='实用工具'>实用工具</a></li><li><a href="http://www.code123.cc/category/funny" data-hover='有趣'>有趣</a></li><li><a href="http://www.code123.cc/category/architecture" data-hover='架构设计'>架构设计</a></li><li><a href="http://www.code123.cc/category/games-dev" data-hover='游戏开发'>游戏开发</a></li><li><a href="http://www.code123.cc/category/interview-carrier" data-hover='程序员面试'>程序员面试</a></li><li><a href="http://www.code123.cc/category/algorithm-datastruct" data-hover='算法/数据结构'>算法/数据结构</a></li><li><a href="http://www.code123.cc/category/experience" data-hover='经验分享'>经验分享</a></li><li><a href="http://www.code123.cc/category/network-program" data-hover='网络编程'>网络编程</a></li><li><a href="http://www.code123.cc/category/computer-inside" data-hover='计算机原理'>计算机原理</a></li><li><a href="http://www.code123.cc/category/design" data-hover='设计'>设计</a></li><li><a href="http://www.code123.cc/category/design-mode" data-hover='设计模式'>设计模式</a></li>                    </ul>
                                <ul class="articles clearfix">
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/2495.html" rel="bookmark" title="Java最佳实践"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2016/04/java-top100.png?imageView/1/w/320/h/200/q/100" alt="Java最佳实践" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/2495.html" rel="bookmark" title="Java最佳实践">
                Java最佳实践            </a>
        </h2>
        <div class="post-content">
            Java 是在世界各地最流行的编程语言之一, 但是看起来没人喜欢使用它。而 Java 事实上还算是一门不错的语言，随着 Java 8 最近的问世，我……        </div>
    </div>
    </li>
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/2492.html" rel="bookmark" title="Java Top 100热门问答(Stackoverflow)"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2016/04/java-top100.png?imageView/1/w/320/h/200/q/100" alt="Java Top 100热门问答(Stackoverflow)" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/2492.html" rel="bookmark" title="Java Top 100热门问答(Stackoverflow)">
                Java Top 100热门问答(Stackoverflow)            </a>
        </h2>
        <div class="post-content">
            目录

基础语法


Java += 操作符实质
将InputStream转换为String
将数组转换为List
如何遍历map对象
public，protected，private，不加……        </div>
    </div>
    </li>
                                            
<li class="post">
        <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/2408.html" rel="bookmark" title="给Java说句公道话">
                给Java说句公道话            </a>
        </h2>
        <div class="post-content">
            有些人问我，在现有的语言里面，有什么好的推荐？我说：“Java。” 他们很惊讶：“什么？Java！” 所以我现在来解释一下。
Java超越了所有咒骂它的“动态语言”
也许是因为年轻人的逆反心理，人们都不把自己的入门语言当回事。很早的时候，计算机系的学生用Scheme或者Pascal入门，现在大部分学校用Java。这也许就是为什么很多人恨Java，瞧不起用Java的人。提到Java，感觉就像是爷爷那辈人用的东西。大家都会用Java，怎么能显得我优秀出众呢？于是他们说：“Java老气，庞大，复杂，臃肿。我更愿意探索新的语言……”
某些Python程序员，在论坛里跟……        </div>
    </div>
            <ul class="postmeta clearfix">
            <li><div class="postzan"><a id="wp-zan-2408" class="wp-zan" onclick="wpzan(2408, 0)" href="javascript:;"><span>7</span></a></div></li>
            <li><div class="postview">471</div></li>
            <li><div class="postcomm"><a href="http://www.code123.cc/2408.html#comments"> 1</a></div></li>
        </ul>
    </li>
                                            
<li class="post">
        <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/2305.html" rel="bookmark" title="Java8 简明教程">
                Java8 简明教程            </a>
        </h2>
        <div class="post-content">
            Java并没有没落，人们开始认识到这一点
欢迎阅读我编写的Java 8介绍。本教程将带领你一步步认识这门语言的所有新特性。通过简单明了的代码示例，你将会学习到如何使用默认接口方法，Lambda表达式，方法引用和可重复注解。在这篇教程的最后，你还将对最新推出的API有一定的了解，例如：流控制，函数式接口，map扩展和新的时间日期API等等。
没有大段的废话，只是一些带注释的代码片段，望君喜欢。
接口中的默认方法
Java 8 允许我们使用default关键字，为接口添加非抽象(non-abstract)的方法实现。这个特性又被称为扩展方法。下面是我们……        </div>
    </div>
            <ul class="postmeta clearfix">
            <li><div class="postzan"><a id="wp-zan-2305" class="wp-zan" onclick="wpzan(2305, 0)" href="javascript:;"><span>3</span></a></div></li>
            <li><div class="postview">1,372</div></li>
            <li><div class="postcomm"><a href="http://www.code123.cc/2305.html#respond">0</a></div></li>
        </ul>
    </li>
                                            
<li class="post">
        <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1685.html" rel="bookmark" title="Java线程面试题集锦">
                Java线程面试题集锦            </a>
        </h2>
        <div class="post-content">
            下面是我自己收集整理的Java线程相关的面试题，可以用它来好好准备面试。


1) 什么是线程？
线程是操作系统能够进行运算调度的最小单位，它被包含在进程之中，是进程中的实际运作单位。程序员可以通过它进行多处理器编程，你可以使用多线程对运算密集型任务提速。比如，如果一个线程完成一个任务要100毫秒，那么用十个线程完成该任务只需10毫秒。
2) 线程和进程有什么区别？
一个进程是一个独立(self contained)的运行环境，它可以被看作一个程序或者一个应用。而线程是在进程中执行的一个任务。线程是进程的子集，一个进程可以有很多……        </div>
    </div>
            <ul class="postmeta clearfix">
            <li><div class="postzan"><a id="wp-zan-1685" class="wp-zan" onclick="wpzan(1685, 0)" href="javascript:;"><span>7</span></a></div></li>
            <li><div class="postview">824</div></li>
            <li><div class="postcomm"><a href="http://www.code123.cc/1685.html#respond">0</a></div></li>
        </ul>
    </li>
                                            
<li class="post">
        <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1669.html" rel="bookmark" title="40个Java集合面试问题和答案">
                40个Java集合面试问题和答案            </a>
        </h2>
        <div class="post-content">
            Java集合框架为Java编程语言的基础，也是Java面试中很重要的一个知识点。这里，我列出了一些关于Java集合的重要问题和答案。


1.Java集合框架是什么？说出一些集合框架的优点？
每种编程语言中都有集合，最初的Java版本包含几种集合类：Vector、Stack、HashTable和Array。随着集合的广泛使用，Java1.2提出了囊括所有集合接口、实现和算法的集合框架。在保证线程安全的情况下使用泛型和并发集合类，Java已经经历了很久。它还包括在Java并发包中，阻塞接口以及它们的实现。集合框架的部分优点如下：
（1）使用核心集合类降低开发成本，而……        </div>
    </div>
            <ul class="postmeta clearfix">
            <li><div class="postzan"><a id="wp-zan-1669" class="wp-zan" onclick="wpzan(1669, 0)" href="javascript:;"><span>2</span></a></div></li>
            <li><div class="postview">1,207</div></li>
            <li><div class="postcomm"><a href="http://www.code123.cc/1669.html#respond">0</a></div></li>
        </ul>
    </li>
                                            
<li class="post">
        <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1667.html" rel="bookmark" title="Java高级开发工程师面试考纲">
                Java高级开发工程师面试考纲            </a>
        </h2>
        <div class="post-content">
            如果要应聘高级开发工程师职务，仅仅懂得Java的基础知识是远远不够的，还必须懂得常用数据结构、算法、网络、操作系统等知识。因此本文不会讲解具体的技术，笔者综合自己应聘各大公司的经历，整理了一份大公司对Java高级开发工程师职位的考核纲要，希望可以帮助到需要的人。


当前，市面上有《Java XX宝典》类似的图书，而且图书中的内容都着重在讲解Java最为基础的部分，最严重的是，里面有着大量错误的内容，极具误导性。另外，网上也有各种各样的Java面试题，很多也是着重在Java语言基础上。实际上，如果要应聘高级开发工程师职务，……        </div>
    </div>
            <ul class="postmeta clearfix">
            <li><div class="postzan"><a id="wp-zan-1667" class="wp-zan" onclick="wpzan(1667, 0)" href="javascript:;"><span>1</span></a></div></li>
            <li><div class="postview">656</div></li>
            <li><div class="postcomm"><a href="http://www.code123.cc/1667.html#respond">0</a></div></li>
        </ul>
    </li>
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/1367.html" rel="bookmark" title="Java MVC框架的前世今生"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/java-mvc-code123.jpg?imageView/1/w/320/h/200/q/100" alt="Java MVC框架的前世今生" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1367.html" rel="bookmark" title="Java MVC框架的前世今生">
                Java MVC框架的前世今生            </a>
        </h2>
        <div class="post-content">
            从DRY原则开始
Don't Repeat Yourself，不要重复你的代码。
如果有一些代码我们重复了两次，我们总是要把它们提取出来变成一个方法。
渐……        </div>
    </div>
    </li>
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/1086.html" rel="bookmark" title="Java Play框架教程07 静态文件"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/1440420063.23.png?imageView/1/w/320/h/200/q/100" alt="Java Play框架教程07 静态文件" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1086.html" rel="bookmark" title="Java Play框架教程07 静态文件">
                Java Play框架教程07 静态文件            </a>
        </h2>
        <div class="post-content">
            Play框架的主要功能是提供动态响应的内容。但一个网络项目中必然有大量的静态内容，比如图片、Javascript文件、CSS文件等。我下面介绍如……        </div>
    </div>
    </li>
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/1084.html" rel="bookmark" title="Java Play框架教程06 用户验证"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/1440420020.76.png?imageView/1/w/320/h/200/q/100" alt="Java Play框架教程06 用户验证" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1084.html" rel="bookmark" title="Java Play框架教程06 用户验证">
                Java Play框架教程06 用户验证            </a>
        </h2>
        <div class="post-content">
            用户验证 (User Authentification)复合的使用Play框架的数个功能，包括前面已经了解的表单和数据库，以及这篇文章里要提到的加密和会话。……        </div>
    </div>
    </li>
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/1082.html" rel="bookmark" title="Java Play框架教程05 数据库"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/1440419960.92.png?imageView/1/w/320/h/200/q/100" alt="Java Play框架教程05 数据库" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1082.html" rel="bookmark" title="Java Play框架教程05 数据库">
                Java Play框架教程05 数据库            </a>
        </h2>
        <div class="post-content">
            数据库是整个站点的数据储藏室。用户提交的数据可以存储在数据库中，以便未来使用。Play可以通过JDBC和数据库通信。我讲介绍Play和mysql……        </div>
    </div>
    </li>
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/1080.html" rel="bookmark" title="Java Play框架教程04 表单"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/1440419886.21.png?imageView/1/w/320/h/200/q/100" alt="Java Play框架教程04 表单" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1080.html" rel="bookmark" title="Java Play框架教程04 表单">
                Java Play框架教程04 表单            </a>
        </h2>
        <div class="post-content">
            表单 (form)是最常见的从客户往服务器传递数据的方式。Play框架提供了一些工具。它们可以从表单中提取数据，验证提交数据的合法性，或者……        </div>
    </div>
    </li>
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/1078.html" rel="bookmark" title="Java Play框架教程03 模板"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/1440419842.58.png?imageView/1/w/320/h/200/q/100" alt="Java Play框架教程03 模板" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1078.html" rel="bookmark" title="Java Play框架教程03 模板">
                Java Play框架教程03 模板            </a>
        </h2>
        <div class="post-content">
            在上一章节中，我把字符串通过ok()返回给客户。我可以把一个完整的html页面放入字符串中返回。然而，现代的框架都提供了更好的方法——模板……        </div>
    </div>
    </li>
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/1076.html" rel="bookmark" title="Java Play框架教程02 响应"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/1440419810.5.jpg?imageView/1/w/320/h/200/q/100" alt="Java Play框架教程02 响应" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1076.html" rel="bookmark" title="Java Play框架教程02 响应">
                Java Play框架教程02 响应            </a>
        </h2>
        <div class="post-content">
            我上一章总结了Play框架的基本使用。这一章里，我将修改和增加响应。
HTTP协议是按照“请求-响应”的方式工作。Play框架的核心是用动作(Act……        </div>
    </div>
    </li>
                                            
<li class="post post-width-thumbnail">
                <div class="post-thumbnail">
                <div class="overlay"><a href="http://www.code123.cc/1074.html" rel="bookmark" title="Java Play框架教程01 简介"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/themes/Mirana/static/images/view.png" alt="code123" /></a></div>
                <img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2015/08/1440419749.92.png?imageView/1/w/320/h/200/q/100" alt="Java Play框架教程01 简介" width="320" height="200" />
            </div>
            <div class="post-body">
        <h2 class="post-title">
            <a href="http://www.code123.cc/1074.html" rel="bookmark" title="Java Play框架教程01 简介">
                Java Play框架教程01 简介            </a>
        </h2>
        <div class="post-content">
            说到网络框架，Ruby的Ruby on Rail和Python的Django都相当轻巧好用，但Java下的框架，则要沉重很多。有人因此质疑Java语言本身是否符合网……        </div>
    </div>
    </li>
                                    </ul>
                <!--div><center>
                      <a href="http://my.yizhihongxing.com/aff.php?aff=494" target="_blank"><img src="http://7xlqnq.com1.z0.glb.clouddn.com/wp-content/uploads/2016/07/vpn.png"></a>
                </center></div><br-->
                <nav class="pagenav clearfix">
                    <span class='page-numbers current'>1</span><a class='page-numbers' href='http://www.code123.cc/category/java/page/2' title='第2页'>2</a><a class='page-numbers' href='http://www.code123.cc/category/java/page/3' title='第3页'>3</a><span class='right'><a class='page-numbers page-numbers-next' href='http://www.code123.cc/category/java/page/2' title='下一页'>下一页</a></span>                </nav>
            </div>
        </div>
    </div>
<footer id="footer">
	<div class="sns">
		<a href="http://weibo.com/u/5603150440" target="_blank" rel="nofollow" class="weibo"><span>新浪微博</span></a><a href="http://www.zhihu.com/people/code123" target="_blank" rel="nofollow" class="zhihu"><span>知乎</span></a><a href="http://www.code123.cc/feed" target="_blank" rel="nofollow" class="rss"><span>订阅我</span></a>	</div>
	<div class="copyright">Copyright &copy; 2015 <a href="/">Code123</a> All Rights Reserved <a href="http://www.code123.cc/contact" rel="nofollow">Contact</a></div>
    <div class="statistics-div"><script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1253876422'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1253876422%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script></div>
</footer>

</body>
</html>

<!-- Dynamic page generated in 2.309 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2017-03-30 09:10:25 -->

<!-- Compression = gzip -->